package models.calendar;

import play.db.jpa.Model;

import javax.persistence.Entity;

/**
 * Created by IntelliJ IDEA.
 * User: EgorenkoDV
 * Date: 22.04.13
 * Time: 10:46
 * To change this template use File | Settings | File Templates.
 */
@Entity
public class Event extends Model {
    public String name;
    public String content;
    public String dateOfBegining;
    public String dateOfEnding;

    public Event(String name, String content, String dateOfBegining, String dateOfEnding) {
        this.content = content;
        this.name = name;
        this.dateOfBegining = dateOfBegining;
        this.dateOfEnding = dateOfEnding;
    }
}
